package com.study.modules.saas.repository.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Description: 角色菜单关联
 * @ClassName: RoleMenuDO
 * @Author: hupengming
 * @CreateTime: 2022-08-26 16:21
 */
@Data
@TableName("role_menu")
public class RoleMenuDO {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField(value = "role_id")
    private Integer roleId;

    @TableField(value = "menu_id")
    private Integer menuId;

}
